<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>element</title>
    <script type="text/javascript" src="js/vue.js"></script>

    <script type="text/javascript" src="js/index.js"></script>
    <link rel="stylesheet" href="css/index.css">

</head>
<body>
<div id="app">
    <el-form  :model="formInline" class="demo-form-inline">
        <el-form-item label="审批人">
            <el-input v-model="formInline.user" placeholder="审批人"></el-input>
        </el-form-item>
        <el-form-item label="审批人">
            <el-input v-model="formInline.user" placeholder="审批人"></el-input>
        </el-form-item>
        <el-form-item label="活动区域">
            <el-select v-model="formInline.region" placeholder="活动区域">
                <el-option v-for="item in list"  :label="item" value="shanghai"></el-option>
            </el-select>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="fun01">查询</el-button>
        </el-form-item>
    </el-form>
</div>
<script>
    let app = new Vue({
        el: '#app',
        data() {
            return {
                formInline: {
                    user: '',
                    region: ''
                },
                list:['区域1','区域2','区域3','区域4']
            }
        },
        methods: {
            fun01() {
                console.log('submit!');
            }
        }
    })
</script>
</body>
</html>